public class Ext1 {
private final Account acct;
public Ext1(ApexPages.StandardController controller) {
this.acct = (Account)controller.getRecord();
}
public String getTitle() {
return 'Account:' + acct.name;
}
}